#include<cstdio>

int main() {
    double a,b,c,avg,cj;
    scanf("%lf%lf%lf",&a,&b,&c);
    avg = (a + b + c) / 3.0;
    cj = a * b * c;
    printf("%.2lf %.2lf",avg, cj);
    return 0;
}